﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _025_第二十五章_中介者模式
{
    class US : Country
    {
        public US(UnitedNation manager) : base(manager)
        {

        }

        public override void ReceiveMessage(string content)
        {
            Console.WriteLine("美国收到消息：" + content);
        }

        public override void SendMessage(string content, Country target)
        {
            manager.SendMessage(content, this, target);
        }
    }
}
